/*
 * @Author: WHAlex
 * @Date: 2025-01-18 15:18:58
 *
 * Copyright (c) 2025 by atguigu, All Rights Reserved.
 */
#ifndef __APP_MQTT_H__
#define __APP_MQTT_H__

#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include "esp_event.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

#include "lwip/sockets.h"
#include "lwip/dns.h"
#include "lwip/netdb.h"

#include "esp_log.h"
#include "mqtt_client.h"
#include "cJSON.h"

#define ACTION_AUDIO_VIDEO_NO 0
#define ACTION_AUDIO_ESP2CLIENT_ON 1
#define ACTION_AUDIO_ESP2CLIENT_OFF 2
#define ACTION_AUDIO_CLIENT2ESP_ON 3
#define ACTION_AUDIO_CLIENT2ESP_OFF 4
#define ACTION_VIDEO_ESP2CLIENT_ON 5
#define ACTION_VIDEO_ESP2CLIENT_OFF 6

void App_MQTT_Start(void);

#endif
